﻿
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="adminupdate">
    <table>
        <tr>
            <th></th>
            <td>
                <label>
                    <input type="hidden" name="aid" style="width:100px;height: 20px" value="${ad.aid}">
                </label>
            </td>
        </tr>
        <tr>
            <th>员名</th>
            <td>
                <label>
                    <input type="text" name="name" style="width:100px;height: 20px" value="${ad.name}">
                </label>
            </td>
        </tr>
        <tr>
            <th>性别</th>
            <td>
                <label>
                    <input type="text" name="sex" style="width:100px;height: 20px" value="${ad.sex}">
                </label>
            </td>
        </tr>
        <tr>
            <th>年龄</th>
            <td>
                <label>
                    <input type="text" name="age" style="width:100px;height: 20px" value="${ad.age}">
                </label>
            </td>
        </tr>
        <tr>
            <th>电话</th>
            <td>
                <label>
                    <input type="text" name="tel" style="width:100px;height: 20px" value="${ad.tel}">
                </label>
            </td>
        </tr>
        <tr>
            <th>地址</th>
            <td>
                <label>
                    <input type="text" name="address" style="width:100px;height: 20px" value="${ad.address}">
                </label>
            </td>
        </tr>

        <tr>
            <th></th>
            <td>
                <label>
                    <input type="hidden" name="wid" style="width:100px;height: 20px" value="${ad.wid}">
                </label>
            </td>
        </tr>
    </table>
    <input type="submit" value="修改"/>
    <input type="submit" value="取消" id="sub" onclick="quxiao()"/>
</form>
<script>
    function quxiao(){
        var sub = $("#sub").val();
        location.href="administrator.jsp";
    }
</script>
</body>
</html>
